#ifndef __MAIN__
#define __MAIN__
#include <p18f24k22.h>
#include "rfid.h"
#include "audio.h"

/** D E C L A R A T I O N S *******************************************/
extern void init();
extern void main_init();
extern char add_ring();
extern void change_health(char);
extern void death();
extern int ir_decode();
extern void create_packet(char, char *, char);
extern int check_packet();
extern void xbee_init();
extern void strToXbee(char *);

extern void interrupts_init();
extern void InterruptServiceHigh();
extern void InterruptServiceLow();

/***Prototypeing Functions**********************************/
void init();
void main_init();
char add_ring();
void change_health(char);
void death();
int ir_decode();
void create_packet(char, char *, char);
int check_packet();
void xbee_init();
void strToXbee(char *);

void interrupts_init();
void InterruptServiceHigh();
void InterruptServiceLow();
#endif